package com.example.cxx.zhuce;

import android.widget.EditText;

import java.util.Objects;

public class Student {
    private String stuName;
    private String stuPassword;


    public Student(String stuName, String stuPassword) {
        this.stuName = stuName;
        this.stuPassword = stuPassword;
    }



    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getstuPassword() {
        return stuPassword;
    }

    public void setstuPassword(String password) {
        this.stuPassword = password;
    }



    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Student student = (Student) o;
        return stuPassword == student.stuPassword && Objects.equals(stuName, student.stuName);
    }

}
